package com.wt.admin.domain.entity.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wt.admin.config.JacksonTypeHandler;
import com.wt.admin.domain.entity.PublicEntity;
import lombok.Data;

@Data
@TableName(value = "model_list")
public class ModelListEntity extends PublicEntity {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "remark")
    private String remark;

    @TableField(value = "model_config",typeHandler = JacksonTypeHandler.class)
    private Object modelConfig;

    @TableField(value = "model_type")
    private Integer modelType;

}
